package model.sys;

import org.apache.commons.lang.time.DateFormatUtils;

import java.util.Date;

/**
 * @author futao
 * Created on 18-7-23-下午3:58.
 */
public class RestResult {
    private Object data;
    private String code;
    private String timestamp = DateFormatUtils.format(new Date(), Const.TIME_STAMP_FORMATTER);

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTimestamp() {
        return timestamp;
    }

//    public void setTimestamp(Timestamp timestamp) {
//        this.timestamp = timestamp;
//    }

}
